﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;

namespace NetCoreBBS.Entities
{
    public class ApplicationUser: IdentityUser
    {
        [Display(Name="头像")]
        public string Avatar { get; set; }

        [Display(Name = "简介")]
        public string Profile { get; set; }

        [Display(Name = "Url")]
        public string Url { get; set; }

        [Display(Name = "文章数")]
        public int TopicCount { get; set; }

        [Display(Name = "回复数")]
        public int TopicReplyCount { get; set; }

        [Display(Name = "分数")]
        public int Score { get; set; }

        [Display(Name = "创建时间")]
        public DateTime CreateTime { get; set; }

        [Display(Name = "最后登录时间")]
        public DateTime LastLoginTime { get; set; }

        [Display(Name = "部门")]
        public int DepartmentId { get; set; }

        [Display(Name = "姓名")]
        public string Name { get; set; }
    }
}
